package com.hxkj.entity.po;

import java.io.Serializable;

/**
* 用户表
*
* @author: admin
* @version: 1.0
* @datetime: 2017-08-21 16:54:23
*/
public class User extends Base implements Serializable{

    // 用户ID
    private Long userId;
    // 用户帐户
    private String userAccount;
    // 
    private String password;
    // 
    private String salt;
    // 用户状态
    private Integer userStatus;
    // 创建时间
    private Long createTime;
    // 更新时间
    private Long updateTime;
    // 删除标记
    private Integer delTag;

    public String getUserAccount() {
    return userAccount;
    }

    public void setUserAccount(String userAccount) {
    this.userAccount = userAccount;
    }

    public String getPassword() {
    return password;
    }

    public void setPassword(String password) {
    this.password = password;
    }

    public String getSalt() {
    return salt;
    }

    public void setSalt(String salt) {
    this.salt = salt;
    }

    public Integer getUserStatus() {
    return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
    this.userStatus = userStatus;
    }

    public Long getCreateTime() {
    return createTime;
    }

    public void setCreateTime(Long createTime) {
    this.createTime = createTime;
    }

    public Long getUpdateTime() {
    return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
    this.updateTime = updateTime;
    }

    public Integer getDelTag() {
    return delTag;
    }

    public void setDelTag(Integer delTag) {
    this.delTag = delTag;
    }

    public Long getUserId() {
    return userId;
    }

    public void setUserId(Long userId) {
    this.userId = userId;
    }
    public String getCredentialsSalt() {
        return userAccount + salt;
    }
}
